package param.orderquery;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicresponse;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "orderqueryresponse")
public class Orderqueryresponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Publicresponse publicresponse;

	private String orderno;

	private List<Orderticket> tickets;

	@XmlElement(name = "publicresponse")
	public Publicresponse getPublicresponse() {
		return publicresponse;
	}

	public void setPublicresponse(Publicresponse publicresponse) {
		this.publicresponse = publicresponse;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	@XmlElementWrapper(name = "tickets")
	@XmlElement(name = "ticket")
	public List<Orderticket> getTickets() {
		return tickets;
	}

	public void setTickets(List<Orderticket> tickets) {
		this.tickets = tickets;
	}

}
